package com.stargate.bd.bean;

public class Acces {

	public static final String TABLE_NAME = "ACCES";
	
	private int numAcces;
	private int idPersonne;
	
	public Acces(int numAcces, int idPersonne) {
		this.numAcces = numAcces;
		this.idPersonne = idPersonne;
	}

	public Acces(int idPersonne) {
		this.idPersonne = idPersonne;
	}

	public int getNumAcces() {
		return numAcces;
	}

	public void setNumAcces(int numAcces) {
		this.numAcces = numAcces;
	}

	public int getIdPersonne() {
		return idPersonne;
	}

	public void setIdPersonne(int idPersonne) {
		this.idPersonne = idPersonne;
	}
	
	@Override
	public String toString() {
		return "ACCES["+numAcces+", "+idPersonne+"]";
	}
}
